#include<iostream>
using namespace std;

#include"BinarySearchTree.h"
class A
{
public:
	virtual void f()
	{
		cout << "A::f()" << endl;
	}
};

class B :public A
{
private:
	virtual void f()
	{
		cout << "B::f()" << endl;
	}
};

int main()
{
	//test_BSTree();
	A*pa = new B;
	pa->f();
	return 0;
}